from PyQt4 import QtCore, QtGui
from UIModel import GernelInfoModel
import VCore




class GerneralWindow(QtGui.QTableView):
    def __init__(self):
        super(QtGui.QTableView,  self).__init__()
        self.setModel(GernelInfoModel.GernelModel())
        
        core = VCore.VCore.Instance()
        core.Start()



if __name__ == '__main__':

    import sys
    app = QtGui.QApplication(sys.argv)
    window = GerneralWindow()
    window.show()
    
    sys.exit(app.exec_())